/*
 * @Author: wuhao930406 1148547900@qq.com
 * @Date: 2023-07-27 13:45:19
 * @LastEditors: wuhao930406 1148547900@qq.com
 * @LastEditTime: 2023-07-27 14:00:13
 * @FilePath: /legion-iot/src/pages/system/village/columns.js
 * @Description: 
 * 
 * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. 
 */
import { Image, Switch } from "antd";
import { EyeFilled } from "@ant-design/icons";

function getcolumns(enable) {
  return {
    columns: [
      {
        title: "小区名称",
        dataIndex: "name",
        key: "name",
        formItemProps: { rules: [{ required: true, message: "此项为必填项" }] },
        "colProps": {
          "span": 24
        }
      },
    ],
    pathconfig: {
      enableadd: true,
      enableedit: true,
      enabledelete: true,
      enabledetail: false,
      add: "/village",
      edit: "/village",
      list: "/village",
      delete: "/village",
      detail: "",
    },
  };
}
export default getcolumns;
